package com.pro.common.api.user.task.model.dto;

import com.pro.common.api.user.task.model.base.IUserTaskStepCreate;
import com.pro.framework.javatodb.annotation.JTDField;
import com.pro.framework.javatodb.constant.JTDConst;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Schema(description = "步骤完成请求")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserTaskStepCreateDTO implements IUserTaskStepCreate {

    @Schema(description = "步骤名称")
    private String stepName;

    @Schema(description = "执行服务名称")
    private String serviceName;

    @Schema(description = "步骤输入信息(JSON)，可存上一步输出或任务全局参数")
    @JTDField(type = JTDConst.EnumFieldType.text)
    private String inputInfo;

}

